package com.taoyeshu.common.utils;

import java.io.Serializable;

/**
 * 抽取查询对象
 * 
 */
public abstract class BaseQuery implements Serializable {
	private static final long serialVersionUID = 1L;
	// 当前页码
	private int page;
	// 页面可显示行数
	private int rows;
	// 用于排序的列名
	private String sidx;
	// 排序的方式desc/asc
	private String sord;
	// 已经发送的请求的次数
	private String nd;

	public BaseQuery() {
		super();
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	public String getSidx() {
		return sidx;
	}

	public void setSidx(String sidx) {
		this.sidx = sidx;
	}

	public String getSord() {
		return sord;
	}

	public void setSord(String sord) {
		this.sord = sord;
	}

	public String getNd() {
		return nd;
	}

	public void setNd(String nd) {
		this.nd = nd;
	}

}
